﻿@{
    Layout = null;
}

<link rel="stylesheet" href="@Url.Content("~/Content/css/bootstrap.css")"/>
@using SAD_SiS.Models;
@model Shop
<!DOCTYPE html>
<html>
<head>
    <title>Profile Of Shop</title>
</head>
<body>
    <table class="table table-bordered table-hover">
        <tr>
            <td rowspan="5" style = "width:300px">
                @if (Model.Logo == null || File.Exists(Server.MapPath("~/Content/images/" + Model.Logo)) == false)
                {
                    Model.Logo = "ao-doi-yeu-thuong-hl196-1352696564.jpg";
                }
                <img src="@Url.Content("~/Content/images/" + Model.Logo)" alt="Alternate Text"/>
            </td>
        </tr>
        <tr>
                <td>
                @Model.Slogan
            </td>
        </tr>
        <tr>
            <td>
                Shop Name: @Model.ShopName
            </td>
        </tr>
        <tr>
            <td>
                Phone Number: @Model.Phone
            </td>
        </tr>
        <tr>
            <td>
                Address: @Model.Address
            </td>
        </tr>
        <tr>
            @*<td>
                <a href="@Url.Action("ChangeShopLogo", "ShopHome", new { shopID = @Model.ShopID }, null)">
                    Change Shop Logo</a>

            </td>*@
            <td>
                <a href="@Url.Action("ChangeProfileShop", "ShopProfile", new { shopID = @Model.ShopID }, null)">
                    Change Shop Infomation</a>
            </td>
        </tr>
        <tr>
            <td>
                <h4>
                    Change Logo</h4>
            </td>
        </tr>
        <tr>
            <td>
                @Html.Partial("ChangeShopLogo");
            </td>
        </tr>
    </table>
</body>
